package com.fire.chat.entity.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.List;

/**
 * @program: hxzq
 * @description: 角色视图对象
 * @author: xjr
 * @create: 2020-11-09 10:53
 **/
@Data
@NoArgsConstructor
@ApiModel("角色视图对象")
public class SysRoleVO implements Serializable {

    @ApiModelProperty("角色ID")
    private Long id;

    @ApiModelProperty("角色编码")
    private String code;

    @ApiModelProperty("角色名")
    private String name;

    @ApiModelProperty("拥有的菜单")
    private List<SysMenuVO> menus;


}
